import { createAPI } from '@/utils/request'
// 基本信息
export const list = data => createAPI('/questions/randoms/', 'get', data)
// 删除
export const remove = data => createAPI('/questions/randoms/:id', 'delete', data)
// 加入或移出精选
export const patch = data => createAPI('/questions/choice/:id/:choiceState', 'patch', data)
// 试题审查
export const look = data => createAPI('/questions/check/:id', 'post', data)
